package com.serookie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author kevintam
 * @version 1.0
 * @date 2021/5/24 19:39
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="商品详情", description="商品详情")
@TableName(value = "goods_details")
public class GoodsDetails{
    @ApiModelProperty("商品详情id")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("商品id")
    private Integer goodsId;
    @ApiModelProperty("商品详情图片")
    private String  imgUrl;
}
